package com.xiaolon.train12306.business.enums;/*
 *   项目名称：train12306
 *   文件名称：com.xiaolon.train12306.business.enums.ConfirmOrderStatusEnum
 *
 *   创建人：  ZHOU XIAO LONG
 *   创建日期：2025/1/3
 *
 */

public enum ConfirmOrderStatusEnum {
    INIT("I","初始"),
    PENDING("P","处理中"),
    SUCCESS("S","成功"),
    FAILURE("F", "失败"),
    EMPTY("E","无票"),
    CANCEL("C", "取消")
    ;
    private String code;
    private String desc;


    ConfirmOrderStatusEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String toString() {
        return "ConfirmOrderStatusEnum{" +
                "code='" + code + '\'' +
                ", desc='" + desc + '\'' +
                '}';
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
